package cn.kgc.car.service;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Time {
    public static String time(Date date){
        SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd");
        String tm=sdf.format(date);
        return tm;
    }
}
